<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //展开运算符 / 扩展运算符  /   ...
        let arr = ["a","b","c","d"];
        console.log(...arr);

        let obj = {
            uname:'zhangsan',
            age:18
        }


        // let obj1 = obj;

        console.log({...obj})  

        // obj1.uname = "李四";

        //浅拷贝  浅克隆
        let obj1 = {...obj};


        obj1.uname = "李四"


        // console.log({...obj});

        let uname = "张三";

        // console.log()

        let a = `我是${uname}`


    </script>
</body>
</html>